package com.yungu.swift.system.sys.service;

import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.yungu.swift.base.ResponseData;
import com.yungu.swift.system.sys.model.dto.SysWayCompanyDto;

import java.util.List;
import java.util.Map;


/**
 * SystemWayCompanyService
 **/

public interface SysWayCompanyService {

    ResponseData<PageList<SysWayCompanyDto>> queryPage(Map<String, Object> params, int pageNum, int pageSize);

    ResponseData<SysWayCompanyDto> findOne(Map<String, Object> params);

    /**
     * 查询公司或者代理的路已开通路线数据
     *
     * @param organizationUuid 代理或者公司的uuid
     * @return
     */
    ResponseData<List<SysWayCompanyDto>> listWayByOrganization(String organizationUuid);


}